package com.ljx.NoteBody;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.ljx.NoteBody.mapper")
@EnableTransactionManagement
public class NoteBodyApplication {

	// 关闭druid超过60s报错问题
	static {
		System.setProperty("druid.mysql.usePingMethod", "false");
	}

	public static void main(String[] args) {
		SpringApplication.run(NoteBodyApplication.class, args);
	}

}
